<?php
declare ( strict_types = 1 )
	;

namespace App\Service\Test;

use Swoft\Rpc\Server\Annotation\Mapping\Service;
use Lib\Test\IUpdateGoods;
use App\Annotation\Mapping\ActorTransaction;
use Tool\Query\EBuilder;

/**
 * @Service()
 *
 * @author mg
 *        
 */
class UpdateGoodsService implements IUpdateGoods {
	
	/**
	 * @ActorTransaction()
	 */
	public function parse(float $money): bool {
		return 1 === EBuilder::new()->from('account')->where ( 'uid', 213146)->increment ( 'price_member', 100 );
	}
	
}